PolicyInsights RP GA version of cmdlets#6375
Conversation
…ording) * Upgrade PolicyInsights package to latest. * Add new property in the latest API version to the contract. * Limit recording size; change hardcoded resource names for re-recording
…mes from functions in common
…tions/assignments
| --> | ||
| ## Current Release | ||
|
|
||
| ## Version 1.0.0 |
There was a problem hiding this comment.
remove this... the version number will be added by the versioning tool, just leave the latest changes under Current Release
|
@bulentelmaci can you add the policy insignts module as a required module in the AzureRM psd1. We need this since the module is now going to be a BA module and needs to be packaged with AzureRM. |
| </Reference> | ||
| <Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
| <HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.10\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> | ||
| <HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.11\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> |
There was a problem hiding this comment.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
For example, every .csproj file should have a reference to the following file at the bottom of their file
Here's an example of a .csproj file referencing this file
| @@ -13,8 +13,8 @@ | |||
| <package id="Microsoft.Data.Services.Client" version="5.6.4" targetFramework="net45" /> | |||
| <package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" /> | |||
| <package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net452" /> | |||
| <package id="Microsoft.Rest.ClientRuntime" version="2.3.10" targetFramework="net452" /> | |||
| <package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.10" targetFramework="net452" /> | |||
| <package id="Microsoft.Rest.ClientRuntime" version="2.3.11" targetFramework="net452" /> | |||
There was a problem hiding this comment.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
For example, every .csproj file should have a reference to the following file at the bottom of their file
Here's an example of a .csproj file referencing this file
| <Private>True</Private> | ||
| </Reference> | ||
| <Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
| <HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.10\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> | ||
| <HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.11\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> |
There was a problem hiding this comment.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
For example, every .csproj file should have a reference to the following file at the bottom of their file
Here's an example of a .csproj file referencing this file
| <package id="Microsoft.Rest.ClientRuntime" version="2.3.10" targetFramework="net452" /> | ||
| <package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.10" targetFramework="net452" /> | ||
| <package id="Microsoft.Azure.Management.PolicyInsights" version="1.0.0" targetFramework="net452" /> | ||
| <package id="Microsoft.Rest.ClientRuntime" version="2.3.11" targetFramework="net452" /> |
There was a problem hiding this comment.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
|
@bulentelmaci you need to fix the version of the SDK library for the netcore csproj as well |
…sights into AzureRM.Netcore PSD1
|
|
||
| Assert-NotNull $value | ||
| Assert-AreNotEqual $value "" | ||
| Assert-True { $value -ne "" } |
There was a problem hiding this comment.
Can you use :
[string]::IsNullOrEmpty(...)There was a problem hiding this comment.
Oh much better. Will do
praries880
left a comment
There was a problem hiding this comment.
@bulentelmaci just a minor nitpick… otherwise LGTM
|
@praries880 Good to go now? |
Description
PolicyInsights RP GA version of cmdlets:
Checklist
CONTRIBUTING.mdplatyPSmodule